#ifndef __MY_LEVEL_H__
#define __MY_LEVEL_H__

#include "zlog.h"
enum
{
    ZLOG_LEVEL_CMD = 45,
    ZLOG_LEVEL_BOOT = 50,
};

#define zlog_cmd(cat, format, ...)                 \
    zlog(cat, __FILE__, sizeof(__FILE__) - 1,      \
         __func__, sizeof(__func__) - 1, __LINE__, \
         ZLOG_LEVEL_CMD, format, ##__VA_ARGS__)

#define zlog_boot(cat, format, ...)                \
    zlog(cat, __FILE__, sizeof(__FILE__) - 1,      \
         __func__, sizeof(__func__) - 1, __LINE__, \
         ZLOG_LEVEL_BOOT, format, ##__VA_ARGS__)

#endif /* __MY_LEVEL_H__ */